package com.rongdong.parkingcapture.constant;

/**
 * 通用常量信息
 *
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * www主域
     */
    public static final String WWW = "www.";


    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功
     */
    public static final String SUCCESS_MESSAGE = "success";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 0;

    /**
     * 参数错误
     */
    public static final Integer PARAM_FAIL = 1001;

    /**
     * 任务存在，启动失败
     */
    public static final Integer START_FAIL = 1002;

    /**
     * 服务内部错误
     */
    public static final Integer SERVICE_ERROS = 1003;

    /**
     * task_id
     */
    public static final String TASK_ID =  "task_id";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";


}
